import instance from "./request";

interface ReqLogin {
  name: string;
  paw: string;
}

interface ReqStatus {
  id: string;
  navStatus: string;
}

interface ItypeAPI<T> {
  data: T;
  msg: string | null;
  code: number;
}
type Res<T> = Promise<ItypeAPI<T>>;
